<?php

namespace Entities;

/**
 * Entities\Response
 */
class Response
{
    /**
     * @var integer $responseId
     */
    private $responseId;

    /**
     * @var integer $responseRank
     */
    private $responseRank;

    /**
     * @var text $text
     */
    private $text;

    /**
     * @var datetime $createdAt
     */
    private $createdAt;

    /**
     * @var Entities\Profile
     */
    private $User;

    /**
     * @var Entities\Problem
     */
    private $Problem;

    /**
     * Get responseId
     *
     * @return integer $responseId
     */
    public function getResponseId()
    {
        return $this->responseId;
    }

    /**
     * Set responseRank
     *
     * @param integer $responseRank
     */
    public function setResponseRank($responseRank)
    {
        $this->responseRank = $responseRank;
    }

    /**
     * Get responseRank
     *
     * @return integer $responseRank
     */
    public function getResponseRank()
    {
        return $this->responseRank;
    }

    /**
     * Set text
     *
     * @param text $text
     */
    public function setText($text)
    {
        $this->text = $text;
    }

    /**
     * Get text
     *
     * @return text $text
     */
    public function getText()
    {
        return $this->text;
    }

    /**
     * Set createdAt
     *
     * @param datetime $createdAt
     */
    public function setCreatedAt($createdAt)
    {
        $this->createdAt = $createdAt;
    }

    /**
     * Get createdAt
     *
     * @return datetime $createdAt
     */
    public function getCreatedAt()
    {
        return $this->createdAt;
    }

    /**
     * Set User
     *
     * @param Entities\Profile $user
     */
    public function setUser(\Entities\Profile $user)
    {
        $this->User = $user;
    }

    /**
     * Get User
     *
     * @return Entities\Profile $user
     */
    public function getUser()
    {
        return $this->User;
    }

    /**
     * Set Problem
     *
     * @param Entities\Problem $problem
     */
    public function setProblem(\Entities\Problem $problem)
    {
        $this->Problem = $problem;
    }

    /**
     * Get Problem
     *
     * @return Entities\Problem $problem
     */
    public function getProblem()
    {
        return $this->Problem;
    }
}